package cn.hgpu.service.Impl;

import cn.hgpu.domain.UserInfo;
import cn.hgpu.mapper.UserMapper;
import cn.hgpu.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserMapper userMapper;

    public UserInfo findUserByUnameAndUpsw(UserInfo userInfo) {
        return userMapper.findUserByUnameAndUpsw(userInfo);
    }
}
